using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MonoCash
{
    public partial class Prices : Form
    {
        public Prices()
        {
            InitializeComponent();
            dgvPrices.DataSource = Program.AppSettings.Data.Prices;
            
        }

        private void btnGetPrices_Click(object sender, EventArgs e)
        {
            Program.AppSettings.Data.GetPrices();
        }

        private void btnRefresh_Click(object sender, EventArgs e)
        {
            Program.AppSettings.Data.GetHistoricalPrices();
        }
    }
}